package com.yl.chainStore.mapper.user

import com.yl.chainStore.entity.user.CompanyUserOperationLog
import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.yl.chainStore.pojo.vo.user.CompanyUserCustomerSelectLogSelectVo
import com.yl.chainStore.pojo.vo.user.CompanyUserOperationLogSelectVo
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

/**
 * <p>
 * 注释操作记录 Mapper 接口
 * </p>
 *
 * @author cxw
 * @since 2021-10-22
 */
@Mapper
interface CompanyUserOperationLogMapper : BaseMapper<CompanyUserOperationLog>{

	/**
	 * 查询列表
	 */
	fun selectLogList(@Param("vo")vo: CompanyUserOperationLogSelectVo):MutableList<CompanyUserOperationLog>


	/**
	 * 查询分页
	 */
	fun selectLogPage(
		@Param("page")page: Page<CompanyUserOperationLog>,
		@Param("vo")vo: CompanyUserOperationLogSelectVo
	):Page<CompanyUserOperationLog>

	/**
	 * 查询修改日志数量
	 */
	fun selectCountByVo(@Param("vo") vo : CompanyUserOperationLogSelectVo):Int

}
